|
![](/i/fill.gif) |
Hmm... my code doesn't quite look like that. I do this:
#declare Mesh = #include "mesh.inc"
#declare Forest =
union {
#local nTree = 0;
#while (nTree < 8000)
object { Mesh transform { ... } }
#local nTree = nTree + 1;
#end
}
The union couldn't cause problems could it?
BTW, the file definitely has only one mesh in.
--
Tek
http://www.evilsuperbrain.com
"Christoph Hormann" <chr### [at] gmx de> wrote in message
news:3E02E100.EC7FEB26@gmx.de...
>
>
> Tek wrote:
> >
> > Yep, I tried that too. It took most of last evening to rewrite the
> > transformation code, but once I had it still had all the same problems
as
> > when it had been 1 mesh per leaf. My foliage include is just a 5 meg
mesh.
> >
>
> If your code looks like:
>
> #declare Mesh= mesh { ... }
>
> object { Mesh ... }
> object { Mesh ... }
> ...
>
> this should work.
>
> If you have the mesh written to a file you should make sure it really
> contains a single mesh.
>
> Christoph
>
> --
> POV-Ray tutorials, include files, Sim-POV,
> HCR-Edit and more: http://www.tu-bs.de/~y0013390/
> Last updated 07 Dec. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
![](/i/fill.gif) |